package com.ouc.openplatform.zykt.standardManage.service;

import java.util.List;

import com.ouc.openplatform.zykt.standardManage.model.NJ_TestBOM;
import com.ouc.openplatform.zykt.standardManage.model.NJ_TestStandardUnion;



public interface NJ_TestBOMService {
	public List<NJ_TestBOM> getAllTestBOM();//查找所有BOM
	public List<NJ_TestBOM> getTestBOMByCondition(String pd_type, String test_type,String test_grade,
			String venture,String area);//按条件查找BOM
	public List<NJ_TestBOM> searchAllTestBOM(int startIndex,int endIndex);//查找所有BOM
	public List<NJ_TestBOM> searchTestBOMByCondition(
			String pd_type, String test_type,String test_grade,
			String venture,String area,int startIndex,int endIndex);//按条件查找BOM
	public int insertTestBOM(NJ_TestBOM testBOM);//增加BOM
	public int editTestBOM(NJ_TestBOM testBOM);//修改BOM
	public int deleteTestBOM(int id);//删除BOM
	public int getSearchAllTestBOMCount();//获取所有记录数
	public int getSearchTestBOMByConditionCount(String pd_type, String test_type,
			String test_grade,String venture,String area);//获取按条件查询记录数
	
	public List<NJ_TestStandardUnion> getAllTestStandardUnion();//查找所有标准信息
	public List<NJ_TestStandardUnion> getAllTestStandardUnionByCondition(int template_id,int item_id);//按条件查找所有标准信息
	
	public int checkName(NJ_TestBOM testBOM);//检查标准子项是否存在
	
	public List<NJ_TestStandardUnion> getAllTestStandardUnionByNames(String template_name,String item_name);//按条件查找所有标准信息
}
